Automattic\WCShipping\Connect\WC_Connect_Nux C

Total Complexity 106
Dependencies 6
Dependents 2
Total lines 656
Lines of code 417
Logical lines of code 185
Comment lines 148
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
should_display_nux_notice_on_screen()
A
48 16 34
show_nux_banner()
A
40 12 66
get_banner_type_to_display()
A
53 11 25
get_feature_list_for_country()
A
53 11 21
show_tos_banner()
A
45 8 41
show_banner_after_connection()
A
46 7 38
set_up_nux_notices()
S
49 5 34
show_banner_before_connection()
S
50 5 29
register_callback_listeners()
S
57 5 17
is_wcshipping_settings_page()
S
60 5 13
get_jetpack_install_status()
S
66 4 9
register_wcshipping_jetpack()
S
62 2 11
load_scripts_and_styles()
S
53 1 26
get_notice_states()
S
68 2 7
is_notice_dismissed()
S
75 2 4
ajax_dismiss_notice()
S
67 2 8
can_accept_tos()
S
67 2 8
accept_tos()
S
67 2 8
__construct()
S
75 1 4
dismiss_notice()
S
72 1 5
get_jetpack_redirect_url()
S
69 1 6
is_tos_accepted()
S
80 1 3